<div class="am-panel-group" id="accordion">
  {{each lists as value index}}
  <div class="am-panel am-panel-default">
    
    <div class="am-panel-hd">
      <h4 class="am-panel-title" data-am-collapse="{parent: '#accordion', target: '#do-not-say-{{index}}'}">
        {{value['username']}}
      </h4>
    </div>
    
    <div id="do-not-say-{{index}}" class="am-panel-collapse am-collapse am-off">
      <div class="am-panel-bd">
        <p>
            学号：{{value['studyNumber']}}
        </p>
        <p>
            性别：{{value['sex']}}
        </p>
        <p>
            职位：{{value['work']}}
        </p>
        <p>
            <a href="javascript:updateData('{{value["studyNumber"]}}', '{{value["sex"]}}', '{{value["username"]}}', '{{value["work"]}}');">修改</a>
            <a href="/admin/account/delete?n={{value['studyNumber']}}">删除</a>
        </p>
      </div>
    </div>
    
  </div>
  {{/each}}
</div>
